package org.come.xingpan;

import org.come.Frame.TestpackJframe;
import org.come.Frame.ZhuFrame;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

/**
 * 拥有材料监听
 * <p>
 * Title : MouseListenerMaterials
 * </p>
 *
 * @author : HGC
 * @date : 2019年8月8日 上午9:21:50
 * @version : 1.0.0
 */
public class MouseListenerMaterials extends MouseAdapter {
    private int i;
    private JpanelXingCardMain jpanelXingCardMain;

    public MouseListenerMaterials(int i, JpanelXingCardMain jpanelXingCardMain) {
        this.i = i;
        this.jpanelXingCardMain = jpanelXingCardMain;
    }

    @Override
    public void mousePressed(MouseEvent e) {
        // 右键操作

    }

    @Override
    public void mouseEntered(MouseEvent e) {

    }

    @Override
    public void mouseExited(MouseEvent e) {
        TestpackJframe.getTestpackJframe().getJpac().ClearText();
        ZhuFrame.getZhuJpanel().cleargoodtext();
    }


}
